package com.yuanfeng.userms.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @ClassName UserBusinessEmployeeController
 * @Description 企业员工
 * @Author hyq
 * @Date 2023/6/26 14:11
 * @Version 1.0
 **/
@RestController
@RequestMapping("user/businessEmployee")
public class UserBusinessEmployeeController extends BaseController{

    /**
     * 查询员工列表
     *
     * @param businessId
     * @return
     */
    @GetMapping("/queryEmployeesList")
   public List<String> queryEmployeesList(@RequestParam("businessId") String businessId){
        List<String> result=userBusinessEmployeeService.queryEmployeesList(businessId);
        return result;
    }
}
